﻿using System.Collections.Generic;
using VNet.VisiSuite.ExcelReader.ExcelReaderFactory;

namespace VNet.VisiSuite.ExcelReader.Models
{
    /// <summary>
    /// ProductData
    /// </summary>
    public class ProductData:IExcelData
    {
        /// <summary>
        /// Gets or sets the items.
        /// </summary>
        /// <value>
        /// The items.
        /// </value>
        public List<ProductModelItem> Items { get; set; }
    }

    /// <summary>
    /// Product Model
    /// </summary>
    public class ProductModelItem
    {
        /// <summary>
        /// Gets or sets the product identifier.
        /// </summary>
        /// <value>
        /// The product identifier.
        /// </value>
        public int ProductId { get; set; }

        /// <summary>
        /// Gets or sets the name of the product.
        /// </summary>
        /// <value>
        /// The name of the product.
        /// </value>
        public string Sku { get; set; }
        public string Description { get; set; }
        public string Revision { get; set; }

        /// <summary>
        /// Gets or sets the content of the work.
        /// </summary>
        /// <value>
        /// The content of the work.
        /// </value>
        public int PartTime { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether [enabled].
        /// </summary>
        /// <value>
        ///   <c>true</c> if [enabled]; otherwise, <c>false</c>.
        /// </value>
        public bool Enabled { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether [set up].
        /// </summary>
        /// <value>
        ///   <c>true</c> if [set up]; otherwise, <c>false</c>.
        /// </value>
        public int SetupTime { get; set; }
        public int CycleTime { get; set; }
        public int LoadUnloadTime { get; set; }
    }
}
